package com.sgb.kjwl.model.entity.transport;

/**
 * 自定义tab类
 */
public class TabEntity {
    private String title;//标题
    private boolean showBadge;//是否展示标签
    private int number;//标签数字
    private int maxNumber = 99;//标签最大值

    public TabEntity() {
    }

    public TabEntity(String title) {
        this.title = title;
    }

    public TabEntity(String title, boolean showBadge, int number, int maxNumber) {
        this.title = title;
        this.showBadge = showBadge;
        this.number = number;
        this.maxNumber = maxNumber;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isShowBadge() {
        return showBadge;
    }

    public void setShowBadge(boolean showBadge) {
        this.showBadge = showBadge;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getMaxNumber() {
        return maxNumber;
    }

    public void setMaxNumber(int maxNumber) {
        this.maxNumber = maxNumber;
    }
}
